package edu.hit.pact.pgse.communication.message;

public class CrawlerDirRequestMessage implements Message{
	int type;
	String urlHost;
	
	public CrawlerDirRequestMessage(int type, String urlHost) {
		super();
		this.type = type;
		this.urlHost = urlHost;
	}
	
	public CrawlerDirRequestMessage(String urlHost) {
		super();
		this.type = Types.CRAWEL_DIR_REQUEST;
		this.urlHost = urlHost;
	}
	
	public int getType() {
		return type;
	}
	
	public void setType(int type) {
		this.type = type;
	}
	
	public String getUrlHost() {
		return urlHost;
	}
	
	public void setUrlHost(String urlHost) {
		this.urlHost = urlHost;
	}
}
